package com.ship.dispatch.bean.fob;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ship.common.core.base.Joinable;
import com.ship.common.core.mapping.Label;
import com.ship.common.core.mapping.TableColumn;
import com.ship.dispatch.annotation.ModifiableField;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 *@title SpFobZfzzcdyfk
 *@description 支付装载船代预付款
 *@author yl
 *@create 2023/12/17 0017
 */
@TableName("sp_fob_zfzzcdyfk")
@Data
public class SpFobZfzzcdyfk extends SpFobBaseBean implements Joinable {

    @ModifiableField(name = "邮件模板id")
    @Label(value = "邮件模板id")
    @TableColumn
    private String templateId;
    @Label(value = "收件人")
    @TableColumn
    @ModifiableField(name = "收件人")
    private String recipient;
    @Label(value = "邮件正文")
    @TableColumn
    private String content;
    @Label(value = "预付款金额")
    @TableColumn
    @ModifiableField(name = "预付款金额")
    private BigDecimal paymentAmount;
    @Label(value = "结余年")
    @TableColumn
    @ModifiableField(name = "结余年")
    private String balanceYear;
    @Label(value = "结余金额")
    @TableColumn
    @ModifiableField(name = "结余金额")
    private BigDecimal balanceAmount;
    @Label(value = "应付金额")
    @TableColumn
    @ModifiableField(name = "应付金额")
    private BigDecimal payAmount;
    @Label(value = "单位")
    @TableColumn
    private String costUnit;

    @Label(value = "最晚付款时间")
    @TableColumn
    @ModifiableField(name = "最晚付款时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date payDate;
    @Label(value = "订单id")
    @TableColumn
    private Long orderId;
    @Label(value = "装载港")
    @TableColumn
    @ModifiableField(name = "装载港")
    private String port;

    @TableColumn
    private String orderProcessId;
    @TableColumn
    private Integer apprvalStatus;
    @TableColumn
    @Label(value = "业务说明上传")
    private String busniessFile;

    @Override
    public String getLabel() {
        return null;
    }

    @Override
    public String getValue() {
        return null;
    }
}
